core: Clean up staging API and internals
authorColin Walters <walters@verbum.org>
Sun, 23 Sep 2012 20:44:12 +0000 (16:44 -0400)
committerColin Walters <walters@verbum.org>
Sun, 23 Sep 2012 20:44:12 +0000 (16:44 -0400)
commit34c49f04118583ce2ddd9acac8babf8a59c50719
tree77e289e9c7c00a24506d55c9582542ba71b00d97
parent2a0601efc790a0c8f783043f2db682eec9ceffaa
core: Clean up staging API and internals

Cleanly separate metadata/content APIs, rather than defaulting to
raw streams.  This helps most use cases.

Also, drop support for staging content without knowing the total
length.  This complicated the code, and for things like streaming
HTTP, we should be able to figure this out from Content-Length.
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ostree-pull.c
src/ostree/ot-builtin-pull-local.c